#pragma once

#pragma once
#define NULL 0

class Char
{
private:
	char *data;
public:
	Char();
	Char(char character);

	operator char();

	void free();
};

Char::Char()
{
	this->data = new char;
}

Char::Char(char character)
{
	this->data = new char(character);
}

Char::operator char()
{
	return *this->data;
}

void Char::free()
{
	this->data = new char;
	delete data;
	this->data = NULL;
}